-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nodejs data for some performance features #25008
Open
skyclouds2001
wants to merge
8
commits into
mdn:main
Choose a base branch
from
skyclouds2001:node-performanceentry-performancemark-performancemeasure
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update nodejs data for some performance features #25008
skyclouds2001
wants to merge
8
commits into
mdn:main
from
skyclouds2001:node-performanceentry-performancemark-performancemeasure
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
data:api
Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
label
Nov 8, 2024
queengooborg
requested changes
Dec 1, 2024
Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
skyclouds2001
commented
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
most performance related features has been exposed to global via nodejs/node#44483, in node v19.0.0
docs indicate that
PerformanceMark
andPerformanceMeasure
is implemented in v18.2.0, v16.17.0, not v8.5.0docs changes happens in nodejs/node#44483
PerformanceMark
is implemented and can be accessed viaperf_hooks
module in nodejs/node#37136, in v16.0.0PerformanceMeasure
is implemented in nodejs/node#37136, in v16.0.0; bu can be accessed viaperf_hooks
module in nodejs/node#39297, in v16.7.0manually test in local node instance:
so fired nodejs/node#55792 at node's repo
Test results and supporting details
https://nodejs.org/docs/latest/api/globals.html#performanceentry
https://nodejs.org/docs/latest/api/globals.html#performancemark
https://nodejs.org/docs/latest/api/globals.html#performancemeasure
https://nodejs.org/docs/latest/api/perf_hooks.html#class-performanceentry
https://nodejs.org/docs/latest/api/perf_hooks.html#class-performancemark
https://nodejs.org/docs/latest/api/perf_hooks.html#class-performancemeasure
Related issues